package com.lzw.service;

import com.lzw.bean.User;
import com.lzw.bean.result.UsersResult;
import org.springframework.stereotype.Component;

/**
 * @auther: lzw
 * @date: 2021/10/9 - 10 - 09 - 14:29
 * @Description: com.lzw.service
 */
@Component
public interface UsersService {

    UsersResult getUsersList(Integer pageNum, Integer pageSize, String query);

    Integer updateUserStatus(Integer id,boolean mg_state);

    Integer addUser(User user);

    User getUser(User user);

    User getUser(Integer id);

    Integer updateUserInfo(Integer id, String email, String mobile);

    Integer deleteUser(Integer id);
}
